﻿<%@ page contentType="text/html;charset=UTF-8" %>
<%@ include file="/app/common/header.jsp" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
	<title>案件来源</title>
</head>
<body>
<form id="mainForm" action="<%=basePath%>app/biz/firstcheck/firstcheck!list2" method="post">
  <table width="100%" border="0" id="topSpace">
    <tr>
      <td>    
      </td>
    </tr>
  </table>
  <div class="checkinforbox">
   		<input type="hidden" name="page.pageNo" id="pageNo" value="${page.pageNo}"/>
		<input type="hidden" name="page.orderBy" id="orderBy" value="${page.orderBy}"/>
		<input type="hidden" name="page.order" id="order" value="${page.order}"/>
	<div id="search" >
	<div id='result'><table id='tablelist' border='0' cellpadding='2' cellspacing='1' >
	    <tr >
      <th colspan="6" class="stitle"><strong>待办案件列表</strong></th>
    </tr>
	    <tr id='titlerow'>
		    <th id=tabletitle class='stitle'  >案件编号</td>
		    <th id=tabletitle class='stitle'  >案件名称</td>
		    <th id=tabletitle class='stitle'  >案件来源</td>
		    <th id=tabletitle class='stitle'  >案发时间</td>
		    <th id=tabletitle class='stitle'  >受理时间</td>
		    <th id=tabletitle class='stitle'  >所在环节</td>
	   </tr>
	    <s:if test="page.totalCount==0">
		    <tr>
		    	<td align="center" colspan="6" style="color:red;font-size:12px;">没有找到任何记录</td>
	    	</tr>
	    </s:if>
			<s:iterator value="page.result" status="groupStatus">
			<s:if test="#groupStatus.odd == true ">
				 <tr>
			 </s:if>
			 <s:else>
				 <tr class="tabstylesecond">
			 </s:else>
 				<td width="150px" align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')">${caseNo}&nbsp;</td>
	            <td align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')">${caseName}&nbsp;</td>
	            <td align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')">${sourceMode.sourceName}&nbsp;</td>
	            <td align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')"><fmt:formatDate value="${caseDate}"/> &nbsp;</td>
	            <td align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')"><fmt:formatDate value="${shouliDate}"/>&nbsp;</td>
	            <td align="center" class='table_content' style="cursor:hand;" onclick="doEdit('${position.positionCode}','${id}')">${position.positionName }&nbsp;</td>
			 </tr>
		  </s:iterator>
		  <table border='0' cellpadding='2' cellspacing='1' id='pageMark'>
		    <tr align="center">
		      <td height="30" colspan="6" >
			  <%@ include file="/app/common/turnPage.jsp" %>
			  </td>
		    </tr>
		   </table>																										
		 <div style="font-size:12px;color:red" align="center"><s:actionmessage/></div>
		 <div id="rowRightMenuDIV"  style="position:absolute; display:none; background-color: #FFFFF0; layer-background-color: #00CC66; border: 1px none #000000;">
  </div>
</div>
</form>
<script type="text/javascript">

 	function doEdit(position,caseId){
 	 	var url = "<%=basePath%>app/biz/"+position+"/"+position+"!input?caseId="+caseId;
 		location.href=url;
 	}
</script>
<script language="javascript">
	     var table=new TableObject("tablelist","titlerow");
	     table.setTitleBackgroundColor("#ebebeb");
	     table.setPageBackgroundColor("#ebebeb");
	     table.setRowBackgroundColor1("#FFFFFF");
	     table.setRowBackgroundColor2("#ECEEF6");
	     table.setRowClickBackgroudColor("#ebebeb");
	     table.setColClickBackgroudColor("#ebebeb");
	     table.setRowMouseOnBackgroundColor("#B3ECFF");
	     table.setColMouseOnBackgroundColor("#B3ECFF");
	     table.setEnableRowRightMenu("true");
	     table.setEnableTitleRightMenu("false");
	     table.setEnableChangColColor("false");
	     table.setEnableChangRowColor("true");
	     table.setEnableRowClick("false");
	     table.setEnableTitleClick("false");
	     table.setEnableTitleSort("false");
	     table.setSortDESCinnerHTML("↑");
	     table.setSortASCinnerHTML("↓");
		 table.initBackgroudColor();
		 table.initEvent();
</script> 
</body>
</html>
